﻿#ifndef PANEL_H
#define PANEL_H

#include <QWidget>

class Panel : public QWidget
{
    Q_OBJECT
public:
    explicit Panel(QWidget *parent = nullptr);
    void setImg(const QImage &in_img);

protected:
    void paintEvent(QPaintEvent *event);
private:
    QImage m_img;
};

#endif // PANEL_H
